package com.warm.repository;

import com.warm.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by liangchuang on 2018/9/3.
 */
//dao层

//主键Integer类型
public interface ProductCategoryRepository extends JpaRepository<ProductCategory, Integer>{

    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryList);
}
